package com.dx.common.table.ppt;

import java.sql.Timestamp;

import org.springframework.stereotype.Component;

import com.dx.mes.common.bean.entity.UUIDObject;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * AbstractRet_tool_pt_ptn entity provides the base persistence definition of
 * the Ret_tool_pt_ptn entity. @author MyEclipse Persistence Tools
 */
@Component
@XStreamAlias("table")
public class Ret_tool_pt_ptn extends UUIDObject implements java.io.Serializable {

	// Fields

	private Ret_tool_pt_ptnId id;
	private Integer pati_prty;
	private String evt_usr;
	private Timestamp evt_timestamp;

	// Constructors

	/** default constructor */
	public Ret_tool_pt_ptn() {
	}

	/** minimal constructor */
	public Ret_tool_pt_ptn(Ret_tool_pt_ptnId id, Timestamp evt_timestamp) {
		this.id = id;
		this.evt_timestamp = evt_timestamp;
	}

	/** full constructor */
	public Ret_tool_pt_ptn(Ret_tool_pt_ptnId id, Integer pati_prty,
			String evt_usr, Timestamp evt_timestamp) {
		this.id = id;
		this.pati_prty = pati_prty;
		this.evt_usr = evt_usr;
		this.evt_timestamp = evt_timestamp;
	}

	// Property accessors

	public Ret_tool_pt_ptnId getId() {
		return this.id;
	}

	public void setId(Ret_tool_pt_ptnId id) {
		this.id = id;
	}

	public Integer getPati_prty() {
		return this.pati_prty;
	}

	public void setPati_prty(Integer pati_prty) {
		this.pati_prty = pati_prty;
	}

	public String getEvt_usr() {
		return this.evt_usr;
	}

	public void setEvt_usr(String evt_usr) {
		this.evt_usr = evt_usr;
	}

	public Timestamp getEvt_timestamp() {
		return this.evt_timestamp;
	}

	public void setEvt_timestamp(Timestamp evt_timestamp) {
		this.evt_timestamp = evt_timestamp;
	}

}